async-codec-lite 0.0.0

Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures.
Documentation

async-codec-lite

Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures.

Description

This crate is similar to existing crates that also provide FramedWrite adapters. The difference between this crate and other non-tokio alternatives is that it does not require T: Unpin in the Sink implementation for FramedWrite<T, E>. This unnecessarily strict requirement made using FramedWrite with tower-lsp problematic, as discussed in the issue here.

(The crate YZITE/futures-codec didn't have this problem but was not actually published as far as I could tell).

Acknowledgements

This crate is based on code and ideas from the following crates: